from typing import Optional

from pydantic import BaseModel


class IdeUpdateRequest(BaseModel):
    name: str
    ide_image_id: str
    ide_environment_id: str
    status: int = 0
    id: str
    ingress_config: Optional[str]
    volume_config: Optional[str]
    port_config: Optional[str]
    tenant_id: Optional[str]
    stack_ids: Optional[str]
